part of 'page.dart';

class _GoogleAppleStorePurchasePageWlocStateFactory {
  const _GoogleAppleStorePurchasePageWlocStateFactory._internal();

  static const _instance = _GoogleAppleStorePurchasePageWlocStateFactory._internal();

  factory _GoogleAppleStorePurchasePageWlocStateFactory() {
    return _instance;
  }

  _GoogleAppleStorePurchasePageWlocState create({
    required bloc.GoogleAppleStorePurchasePageBlocState blocState,
  }) {
    return _GoogleAppleStorePurchasePageWlocState(
      monthSubscriptionModel: blocState.monthSubscriptionModel,
      yearSubscriptionModel: blocState.yearSubscriptionModel,
      lifetimePurchaseItemModel: blocState.lifetimePurchaseItemModel,
      selectedPurchaseItemSku: blocState.selectedPurchaseItemSku,
      purchaseRequestInProgress: blocState.purchaseRequestInProgress,
    );
  }
}
